<template>
  <el-dialog :title="dTitle" :visible="visible" width="50%" :before-close="closeDialog">
    <el-form >
      <el-form-item>
          <div>222</div>
      </el-form-item>
    </el-form>
    
  </el-dialog>
</template>

<script>
import Botpage from "@/components/botpage/Botpage";
export default {
  data() {
    return {
      dialogVisible: false,
      disabled: false,
    };
  },
  props: {
    dTitle: {
      type: String,
      default: "",
    },
    visible: {
      type: Boolean,
      default: false,
    },
  },
  mounted() {
    this.$nextTick(function () {
      // this.formInline = this.formData;
    });
  },
  methods: {
    closeDialog(reload) {
      //子传父
      this.$emit("closeDialog", reload);
    },
  },
   components: {
       Botpage
    }
};
</script>

<style lang="less" scoped>
</style>